package cn.jxufe.service;

import java.util.List;

import javax.servlet.http.HttpSession;

import cn.jxufe.bean.EasyUIData;
import cn.jxufe.bean.EasyUIDataPageRequest;
import cn.jxufe.bean.Message;
import cn.jxufe.entity.SeedBag;
import cn.jxufe.entity.User;
import cn.jxufe.entity.UserInfoText;

public interface UserService {

	EasyUIData<User> getList(String userName, EasyUIDataPageRequest easyUIDataPageRequest);

	Message save(HttpSession session, User user);

	Message delete(HttpSession session, User user);

	List<User> list();

	Message setCurUser(HttpSession session, User user);

	Message updateUser(HttpSession session, User user);

	User getUser(User user);

	/* Message buySeed(HttpSession session, SeedBag seedBag); */


//	List<UserInfoText> data();

}
